package org.icnmasjid.member.service;

import java.util.List;

import org.icnmasjid.member.dao.LookupDao;
import org.icnmasjid.member.model.PaymentCategory;
import org.icnmasjid.member.model.RelationshipType;
import org.icnmasjid.member.model.Role;
import org.icnmasjid.member.model.SubOrg;


/**
 * Business Service Interface to talk to persistence layer and
 * retrieve values for drop-down choice lists.
 *
 * <p>
 * <a href="LookupManager.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface LookupManager extends Manager {
    //~ Methods ================================================================

    public void setLookupDao(LookupDao dao);
    
    /**
     * Retrieves all possible roles from persistence layer
     * @return List
     */
    public List getAllRoles();
    public Role getRoleByName(String name);
    public SubOrg getSubOrgByName(String name);
    public RelationshipType getRelationShipTypeByName(String name);
    public List<PaymentCategory> getPaymentCategories();    
}
